package com.kintreda.ieco_server.module.order.service.impl;

import com.kintreda.ieco_server.bean.order.Draw;
import com.kintreda.ieco_server.core.service.impl.BaseServiceImpl;
import com.kintreda.ieco_server.module.order.service.IDrawService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.module.order.service.impl
 * @Author ZhongYao_H
 * @Date 2019/5/26:21:09
 * @Year 2019 Month 05 Day 26
 * @Date_zh 2019 年 五月 星期日
 */
@Service
public class DrawServiceIml extends BaseServiceImpl<Draw,String> implements IDrawService {
    @Override
    public List<Draw> queryByWallteId(String wallteId) {
        return query("from Draw where wallteId = ? ",new Object[]{wallteId});
    }
}
